package com.szly.phm.common.entity.dto.ensure;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * phm
 *
 * @author: git.jas0nch
 * date: 2021-10-23
 */

@Data
public class CreateEnsureRecordDTO {

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remarks;

    /**
     * 方法id
     */
    @ApiModelProperty(value = "方法id")
    private String wayId;

    /**
     * 计划id
     */
    @ApiModelProperty(value = "计划id")
    private String planId;

    /**
     * 文档id
     */
    @ApiModelProperty(value = "文档id")
    private String documentationId;

//    /**
//     * 器材id
//     */
//    @ApiModelProperty(value = "器材id")
//    private String equipmentId;

    /**
     * 保障内容
     */
    @ApiModelProperty(value = "保障内容")
    private String content;

    /**
     * 人员
     */
    @ApiModelProperty(value = "人员")
    private String user;

    /**
     * 结构件id
     */
    @ApiModelProperty(value = "结构件id")
    private String structureId;

    /**
     * 最新保障记录时间
     */
    @ApiModelProperty(value = "保障时间")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date ensureDate;
}
